﻿using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using StudentManager.Common;

public partial class Department_AddExam : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        txtSpeak.Visible = false;
    
        txtListen.Visible = false;
        labListen.Visible = false;

        txtElse.Visible = false;
        txtWirteing.Visible = false;
        txtZhonghe.Visible = false;
        if (ddlListen.SelectedValue.ToString() == "1")
        {
            txtListen.Visible = true;
            labListen.Visible = true;
        }
       if (ddlZhonghe.SelectedValue.ToString() == "1")
        {
            txtZhonghe.Visible = true;
            labListen.Visible = true;
            JScript.GetViewControlScript("txtZhonghe");
        }


    }
    protected void DropDownList2_SelectedIndexChanged(object sender, EventArgs e)
    {

    }
    protected void ddlListen_SelectedIndexChanged(object sender, EventArgs e)
    {
        //if(ddlListen.SelectedValue .ToString() == "1")
          //  txtListen.Visible = true;
                
    }
}
